$(function () {

});


/**
 * 进入修改页面
 * @param roleId
 */
function toModifyRole(roleId) {

    window.location.href = "roleCreate.html";

}

/**
 * 进入分配用户页面
 * @param roleId
 */
function toUserRole(roleId,staffType)
{
    window.location.href = "userRole.html";
}


function doDel(roleId) {
    WEB.msg.confirm('提示', ' 确定要删除此角色么', function () {

        WEB.msg.info("提示","删除成功");

    });
}


function addRole()
{
    window.location.href = "roleCreate.html";
}
